package com.example.superoa.model.mappers;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;
import com.example.superoa.model.pojos.SalaryAccout;

@Mapper
public interface AccountMapper {
	public JSONArray findAllAccount();
	public JSONArray findid(int account_id);
	public JSONArray findstaff(int id);	
	public JSONArray findNames(@Param("account_id")int account_id) ;
	public JSONArray finditems(int account_id);
	public Integer selectID();
	public SalaryAccout selectAccID(int account_id);
	public JSONArray findpay(int account_id);
	public JSONArray findpayName(String account_name);
	public JSONArray findsitems();
	public JSONArray sa_jingyong();
	public void insertxx(@Param("account_id")Integer account_id,@Param("items_id") Integer items_id);
}
